// pages/recommend_jobs/recommend_jobs.js
const app = getApp(), core = require('../../utils/core'), util = require('../../utils/util');
Page({

  /**
   * 页面的初始数据
   */
  data: {
    jobsMore: {page:1},
    jobs: [],
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    this.fetch();
  },
  fetch() {
    util.fetch(this, 'xilujob.job/recommend_jobs', {}, 'jobsMore', 'jobs', 'jobs', 'unique');
  }

});
